package com.zlcx.tz.live.service;

import com.zlcx.tz.live.exception.UnRoomUserException;
import com.zlcx.tz.live.vo.DialogVO;
import java.util.List;

/**
 * @author: anjl
 * @description: 会话，用于室聊
 * @data: 2020-11-03
 **/
public interface DialogStore {

    List<DialogVO> all(Long roomId);

    void add(Long roomId, Long userId) throws UnRoomUserException;

    void remove(Long roomId, Long userId);

}
